package com.nineclock.system.service;

import com.nineclock.system.dto.IdAndGradesDTO;
import com.nineclock.system.dto.SysCompanyUserPayingDTO;
import com.nineclock.system.dto.SysPayGradesDTO;

import java.util.List;
import java.util.Map;

/**
 * @Author: Xu
 * @Date: 2021/12/04/21:11
 */
public interface SysCompanyUserPayingService {
    /**
     * 获取薪资详情列
     * @return
     */
    List<SysCompanyUserPayingDTO>  allPaying();

    /**
     * 获取薪资等级列表
     * @return
     */
    List<SysPayGradesDTO> findPayList();

    /**更新员工的薪资等级
     * payGrades
     * @param id
     * @param payGrades
     */
//    void updateGrades(Long id, String payGrades);
//    void updateGrades(Map<String,String> map);

//    void updateGrades(Long id, String payGrades);

    void updateGrades(Map<String,String> map);
}
